<div class="main-html">
    <div class="main-container">
        <el-aside width="200px">
            <el-menu :default-active="$route.path" class="el-menu-vertical-demo" :router="true"
                background-color="#0a5897" text-color="#fff" active-text-color="#ffd04b">
                <!-- 科室菜单 -->
                <el-submenu index="0">
                    <template slot="title">
                        <span>{{list[0].meta.title}}</span>
                    </template>
                    <el-menu-item v-for="child in list[0].children" :key="child.path" :index="child.path">
                        <span>{{child.meta.title}}</span>
                    </el-menu-item>
                </el-submenu>
                <!-- 模板菜单 -->
                <el-submenu index="1">
                    <template slot="title">
                        <span>{{list[1].meta.title}}</span>
                    </template>
                    <el-menu-item v-for="child in list[1].children" :key="child.path" :index="child.path">
                        <span>{{child.meta.title}}</span>
                    </el-menu-item>
                </el-submenu>
                <!-- 管理菜单 -->
                <el-submenu index="2">
                    <template slot="title">
                        <span>{{list[2].meta.title}}</span>
                    </template>
                    <el-menu-item v-for="child in list[2].children" :key="child.path" :index="child.path">
                        <span>{{child.meta.title}}</span>
                    </el-menu-item>
                </el-submenu>            
            </el-menu>

        </el-aside>
        <div class="main-box">
            <el-header style="height: 94px;">
                <div>
                    <img src="@/modules/CST/assets/zdqylogo.png" class="logo" />
                    <div class="fr pt15">
                        <v-logout></v-logout>
                    </div>
                </div>
                <div>
                    <v-tags-view></v-tags-view>
                </div>
            </el-header>
            <div class="app-main">
                <!-- <keep-alive :include="$store.state.cachedViews"> -->
                <router-view></router-view>
                <!-- </keep-alive> -->
            </div>

        </div>

    </div>

</div>